#pragma once
#include <mythread.hxx>
#include <list>

class FileLog;
class RobotManager;
class Robot : public Thread
{
public:
	Robot(RobotManager* robotManager, bool isStanding = true, FileLog* filelog = NULL);

	void Shutdown(void);

protected:
	virtual void Execute(Thread::Arg arg);
private:
	RobotManager* robotManager;
	
	bool isStanding;

	bool isShutdownRequested;
	FileLog* _filelog;
};